<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@include file="/common/taglibs.jsp"%>
<html>
<head>
<title>短信发送统计</title>
<%@include file="/common/ec.jsp"%>
<%@include file="/common/meta.jsp"%>
</head>
<body>
<br>
<table align="center" width="800" style="border-bottom: 2px solid #99BBE8;">
  <tr>
    <td align="left" style="padding-left: 20px;">
	  	<a href="${ctx}/smssend/edit.do">
	  	  <img src="${ctx}/images/icons/send.png">&nbsp;发送短信</a>
	  	&nbsp;&nbsp;
	  	<a href="${ctx}/smssend/index.do">
  		<img src="${ctx}/images/exticons/arrow-up.gif">&nbsp;短信列表</a>
  		&nbsp;&nbsp;&nbsp;
	  	<a href="${ctx}/statistics/statByPersonal.do" style="color: red; font-weight: bold;">
  		<img src="${ctx}/images/icons/gra.gif">&nbsp;短信统计</a>
    </td>
  </tr>
</table>
<form action="statByPersonal.do" method="post" target="">
<table align="center" width="800">
	<tr>
		<td> 
				发送时间：<input type="text" name="beginDate" style="width: 120px"
						value='<s:date name="beginDate" format="yyyy-MM"/>'
						onfocus="WdatePicker({skin:'whyGreen',dateFmt:'yyyy-MM'})"
						class="Wdate" />
						至
					<input type="text" name="endDate" style="width: 120px"
						value='<s:date name="endDate" format="yyyy-MM"/>'
						onfocus="WdatePicker({skin:'whyGreen',dateFmt:'yyyy-MM'})"
						class="Wdate" />&nbsp;
				&nbsp;&nbsp;<input type="submit" value="统计" class="button">
		</td>
	</tr>
</table>
</form>
<table width="800" align="center" cellpadding="0" cellspacing="0">
<tr>
<td style="border-top:3px solid #D9D9D9;">
<ec:table items="rstList" var="item" retrieveRowsCallback="process" sortRowsCallback="process" 
	action="statByPersonal.do" 
	useAjax="false"
	doPreload="false" 
	pageSizeList="50,100,200" 
	editable="false"
	sortable="false" 
	rowsDisplayed="50" 
	generateScript="true"
	resizeColWidth="false" 
	classic="false" 
	width="100%" 
	height="420px"
	minHeight="420"
	csvFileName="短信发送统计.csv"
	toolbarContent="navigation|pagejump|pagesize|export|refresh|extend|status">
	<ec:row style="height: 50px;">
		<ec:column width="40" property="_s" title="No." value="${GLOBALROWCOUNT}" style="text-align:center"/>
		<ec:column width="150" property="month" title="年月" style="text-align:center"/>
		<ec:column width="150" property="sendCount" title="发送条数" calc="total" calcTitle="合计" />
	</ec:row>
</ec:table>
</td></tr></table>
</body>
</html>